package generator.domain;

import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName Sheet5_0701
 */
@Data
public class Sheet50701 implements Serializable {
    /**
     * 
     */
    private String simplifiedcode;

    /**
     * 
     */
    private String comname;

    /**
     * 
     */
    private String taxpayerid;

    /**
     * 
     */
    private String bankaccount;

    private static final long serialVersionUID = 1L;

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Sheet50701 other = (Sheet50701) that;
        return (this.getSimplifiedcode() == null ? other.getSimplifiedcode() == null : this.getSimplifiedcode().equals(other.getSimplifiedcode()))
            && (this.getComname() == null ? other.getComname() == null : this.getComname().equals(other.getComname()))
            && (this.getTaxpayerid() == null ? other.getTaxpayerid() == null : this.getTaxpayerid().equals(other.getTaxpayerid()))
            && (this.getBankaccount() == null ? other.getBankaccount() == null : this.getBankaccount().equals(other.getBankaccount()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getSimplifiedcode() == null) ? 0 : getSimplifiedcode().hashCode());
        result = prime * result + ((getComname() == null) ? 0 : getComname().hashCode());
        result = prime * result + ((getTaxpayerid() == null) ? 0 : getTaxpayerid().hashCode());
        result = prime * result + ((getBankaccount() == null) ? 0 : getBankaccount().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", simplifiedcode=").append(simplifiedcode);
        sb.append(", comname=").append(comname);
        sb.append(", taxpayerid=").append(taxpayerid);
        sb.append(", bankaccount=").append(bankaccount);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}